package com.liangtian.mdm.system.file.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "SYS_FILE")
public class SysFileUpdate implements Serializable {

    @SequenceGenerator(name = "Any", sequenceName = "SYS_FILE_UPDATE_SEQ")
    @Id
    @Column(name = "ID")
    private String id;  //主键id
    @Column(name = "SURVEY_TYPE")
    private String surveyType; //业务类型 附件所属模块
    @Column(name = "DATA_ID")
    private String dataId;  //数据id (和主表关联的id)
    @Column(name = "FILE_PATH")
    private String filePath; //附件存储路径
    @Column(name = "FILE_SIZE")
    private String fileSize;  //附件大小
    @Column(name = "FILE_NAME")
    private String fileName;  //附件名称
    @Column(name = "FILE_TYPE")
    private String fileType;  //文件类型
    @Column(name = "IS_FLASH")
    private String isFlash;  //是否转为flash  0 否  1 是
    @Column(name = "CREATE_TIME")
    private Date createTime; //创建数据
    @Column(name = "CREATOR")
    private String creator;  //创建人
    @Column(name = "FILECOLUMN")
    private String fileColumn;  //属性列
    @Column(name = "OPER_TYPE")
    private String operType;  //
    @Column(name = "UPDATE_ID")
    private String updateId;  //变更id

    public String getOperType() {
        return operType;
    }

    public void setOperType(String operType) {
        this.operType = operType;
    }

    public String getFileColumn() {
        return fileColumn;
    }

    public void setFileColumn(String fileColumn) {
        this.fileColumn = fileColumn;
    }

    /*private Date updateTime;  //修改时间
        private String updator;   //修改时间
    */
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSurveyType() {
        return surveyType;
    }

    public void setSurveyType(String surveyType) {
        this.surveyType = surveyType;
    }

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getIsFlash() {
        return isFlash;
    }

    public void setIsFlash(String isFlash) {
        this.isFlash = isFlash;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    /*public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getUpdator() {
        return updator;
    }
    public void setUpdator(String updator) {
        this.updator = updator;
    }*/
    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }


}
